package com.aaa.service;

import com.aaa.entity.Staff;

import java.util.List;
import java.util.Map;

public interface StaffService {

    public Staff login(String staffId, String password);

    int updateStaffByStaffId(Staff staff);

    int addStaffByStaffId(Staff staff);

    int deleteStaffByStaffId(int staffId);

    Map<String,Object> findAllStaff(Integer pageNumber, Integer pageSize, String searchId, String searchName)throws Exception;

    List<Staff> getMaxStaffId();

    int getAllStaffInfoCount(String searchId, String searchName);

    int updatePassword(String password, int staffId);
}
